package com.dr.cmdb.core.service;

import com.dr.cmdb.core.domain.Model;
import com.dr.cmdb.core.dto.ModelPropertyDto;
import com.dr.cmdb.core.dto.TableModelsDto;

import java.util.List;

/**
      * @ProjectName:    cmdb
      * @Package:        com.dr.cmdb.application.service
      * @Description:     java类作用描述 
      * @Author:            duanrui
      * @CreateDate:     2021/3/16 19:42
      * @Version:        1.0
      * 
Copyright: Copyright (c) 2021

* */
public interface ModelService{


    int deleteByPrimaryKey(Integer id);

    int insertSelective(Model record);

    Model selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Model record);
    /**
     * 获取表字段
     *
     * @param modelCode
     * @return
     */
    List<ModelPropertyDto> getModelProperties(String modelCode);
}
